import 'package:flutter/material.dart';
import 'package:flutter_funiture_ui/constants.dart';
import 'package:flutter_funiture_ui/models/product.dart';
import 'package:flutter_svg/flutter_svg.dart';

import 'components/app_bar.dart';
import 'components/body.dart';

class DetailScreen extends StatelessWidget {
  const DetailScreen({Key key, this.product}) : super(key: key);
  final Product product;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: kPrimaryColor,
      appBar: buildAppBar(context),
      body: Body(product: product),
    );
  }
}
